Variables Page

This page is for explaining variables


Variables are used within a program as a means of keeping a value, the value is stored at a certain place within the memory of the computer. Certain languages require the user to specify the type of the data held, C is a prime example of this. Below is a screenshot of how to use variables in C.

This is example of the code used to show how variables are used. It begins by setting the variables, it then progresses to a while loop to show the variables